<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/11/8 0008
  Time: 20:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page isELIgnored="false"%>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%--
        c:if来完成逻辑判断，替换Java if else
    --%>
  <%--  <c:if test="true">
        <h1>ture</h1>
    </c:if>
    <c:if test="false">
        <h1>false</h1>
    </c:if>--%>

    <c:if test="${status==1}">
        启用
    </c:if>
    <c:if test="${status==0}">
        禁用
    </c:if>

</body>
</html>
